﻿namespace Grow.Module.Options
{
    /// <summary>
    /// 选项绑定对象
    /// </summary>
    public interface IOptionsBind
    {
        /// <summary>
        /// 绑定
        /// </summary>
        /// <typeparam name="TOptions"></typeparam>
        /// <param name="key"></param>
        /// <param name="options"></param>
        void Bing<TOptions>(string key, TOptions options) where TOptions : class, IOptions;
    }
}
